﻿
namespace LS.Nc6.Application.Cms
{
    /// <summary>
    /// 内容审核表
    /// </summary>
    public class CmsContentCheckService : BaseService<CmsContentCheckEntity>, ICmsContentCheckService, ITransient
    {

       public async  Task<List<CmsContentCheckEntity>> GetContentCheck(long channelId, long contentId)
        {
           return await DbContext.Instance.Queryable<CmsContentCheckEntity>().Where(a => a.ChannelId == channelId && a.ContentId == contentId).ToListAsync();
        }
    }
}
